package com.yami.shop.consign.common.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 寄售记录
 */
@Data
@TableName("tz_consign_record")
public class ConsignRecord {

    private static final long serialVersionUID = 1L;

    @TableId
    private Long id;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 类型 0寄售 1 买入 2 取消
     */
    private int type;

    /**
     * 编号
     */
    private String code;

    /**
     * 价格
     */
    private Long price;

    /**
     * tokenID
     */
    private String nftId;

    /**
     *  平台手续费
     */
    private Long platformCommission;

    /**
     * 店铺手续费
     */
    private Long shopCommission;

    /**
     * 实际到账金额
     */
    private Long realityPrice;

    private Long consignId;

    private Integer prodId;

    private Date createTime;

    private Date updateTime;

}
